PREFIX=/usr

all:
	@echo "PGID3 will be installed into $(PREFIX)."
	@echo "Run 'make install' (probably requires root, yeah?)"

install:
	@echo "Installing PGID3, Weeeee..."
	@cp -rf src/bin src/etc src/libexec src/share $(PREFIX)
	@mv $(PREFIX)/bin/pgid3.phpg $(PREFIX)/bin/pgid3
	@chmod 755 $(PREFIX)/bin/pgid3

uninstall:
	@rm -vf $(PREFIX)/bin/pgid3
	@rm -vf $(PREFIX)/libexec/libpgid3*
	@rm -vf $(PREFIX)/etc/pgid3*
	@rm -rf $(PREFIX)/share/pixmaps/pgid3*
